#ifndef __GAME_H__
#define __GAME_H__

#include "Constants.h"
#include "Renderer.h"

class Game {
  public:
    Game();
    ~Game();

    GameState_t getState() const;

    void setState( GameState_t newState );
    void mainLoop();

  private:
    GameState_t state;
    Renderer* gameRenderer;
    SDL_Event eventHandler;

    void initializeSDL();
    void shutdownSDL();
    void handleEvents();
};
#endif //__GAME_H__
